package com.puppet.building.service;

import com.puppet.building.pojo.Building;

import java.util.List;

public interface BuildingService {
    List<Building> getAllBuildings(String search);

    Integer addNewBuilding(Building building);

    Integer deleteBuilding(Integer buildingId);

    Integer deleteBuildings(List<Integer> ids);

    Integer updateBuilding(Building building);

    Building getBuildingById(Integer buildingId);
}
